package com.mrjy.share.bo;

import java.util.List;
import java.util.Map;

import com.mrjy.common.entity.ShareApplyInfo;
import com.mrjy.common.entity.UserInfo;

public interface IShareApplyBo {
	/**
	 * 一级分销提交申请
	 * @param userInfo
	 * @param map 
	 */
	public void txApply(UserInfo userInfo, Map<String, Object> map);
	
	public int txApplyStatus(ShareApplyInfo sa);
	
	public ShareApplyInfo queryApplyStatus(ShareApplyInfo sa);
	
	
	public List<ShareApplyInfo> listShareApplyInfo(ShareApplyInfo sa);
	/**
	 * 检查赚分享金用户为普通会员是否处于审核状态
	 * @param sa
	 */
	public void checkUserAuditStatus(ShareApplyInfo sa ,Map<String,Object> map);
	/**
	 * 更新用户银行卡等信息
	 * @param user
	 * @param map
	 */
	public void txUserInfo(UserInfo user, Map<String, Object> map);
	/**
	 * 检查本月是否可以更新银行账号信息
	 * @param user
	 * @param map
	 */
	public void isCanChange(UserInfo user, Map<String, Object> map);
	
	//public List<ShareApplyInfo>  listShareCommisionInfo(ShareApplyInfo sa);
}
